package com.vogue.supplymall.order.domain.mapper;

import com.vogue.supplymall.common.domain.dto.SearchRefundInfo;
import com.vogue.supplymall.order.domain.model.RefundOrder;
import com.vogue.supplymall.order.domain.provider.RefundOrderListSqlProveder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;
import java.util.Map;

/**
 * The interface Refund order mapper.
 */
@Mapper
public interface RefundOrderMapper extends BaseMapper<RefundOrder, Long> {

    /**
     * 得到退货单主列表
     *
     * @param searchRefundInfo the search refund info
     * @return the list
     */
    @SelectProvider(type = RefundOrderListSqlProveder.class, method = "findRefundOrder")
    public List<Map<String, Object>> findRefundOrderList(SearchRefundInfo searchRefundInfo);
}
